#ifndef SCENEOBJECT_H
#define SCENEOBJECT_H
#include <QString>
#include <QTime>

class SceneObject{
public:
    SceneObject(float gravityFactor,float randomnessFactor,float walkingSpeedFactor,int effectDurationMs,
                float xPos,float yPos,float objWidth,QString resourceId);
    ~SceneObject();

    int getEffectDuration();
    QString getResourceId();

    float getGravityFactor();
    float getRandomnessFactor();
    float getWalkingSpeedFactor();

    float getXPosition();
    float getYPosition();
    float getWidth();
    void activate();

    QTime* getExpiresAt();
private:
    //display and effect parameters
    QTime *expiresAt;
    QString resourceId;

    //characteristics
    float xPosition;
    float yPosition;
    float width;

    float gravityFactor;
    float randomnessFactor;
    float walkingSpeedFactor;

    int effectDuration;
};

#endif // SCENEOBJECT_H
